<?php

namespace App\Managers\Admin\Version;

use App\Managers\BaseManager;
use App\Models\VersionModel;


class VersionManager extends BaseManager
{
    public function __construct(VersionModel $model)
    {
        parent::__construct();
        $this->model = $model;
    }

    public function getVersion()
    {
        $data = $this->model->getQueryByModel()->orderBy('id','desc')->first();
        return $data;
    }
}
